/**
 * Copyright (c) 2016-2019 优博信息科技 All rights reserved.
 *
 * https://www.jnyoubo.com
 *
 * 版权所有，侵权必究！
 */

package com.youbo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户
 *
 * @author macy
 */
@Data
@TableName("ZZ_ORDER_MX")
public class OrderMxEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.AUTO)
	private Integer mxid;


	private String orderid;


	private String id;
	private String xh;


	private String type;
	private String item;
	private BigDecimal price;
	private int quantity;//数量
	private String unit;
	private String doctor;
	private String ysdm;
	private String ksdm;
	@TableField(value = "presCode")
	private String presCode;
	private String sfxm;


	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@TableField(value = "createTime")
	private Date createTime;



}
